// main.js
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import { lazyPlugin } from './directives'
// 引入初始化样式文件
import '@/styles/common.scss'


// 导入测试接口函数
// import { getCategory } from '@/apis/testAPI'
// 测试接口
// getCategory().then(res => {
//   console.log(res)
// })

const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(lazyPlugin)
app.mount('#app')
